﻿<phone:PhoneApplicationPage 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit" xmlns:local="clr-namespace:Nok_Air"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
	x:Class="Nok_Air.AboutPage"
	Orientation="Portrait"
	shell:SystemTray.IsVisible="True">

	<phone:PhoneApplicationPage.Resources>
		<DataTemplate x:Key="NumSeatItemTemplate">
			<Grid Margin="0,-5">
				<TextBlock Text="{Binding}" d:LayoutOverrides="Width, Height" Foreground="Black" HorizontalAlignment="Center" TextAlignment="Center" FontSize="32" FontFamily="{StaticResource PhoneFontFamilyNormal}"/>
			</Grid>
		</DataTemplate>
	</phone:PhoneApplicationPage.Resources>
	<phone:PhoneApplicationPage.FontFamily>
		<StaticResource ResourceKey="PhoneFontFamilyNormal"/>
	</phone:PhoneApplicationPage.FontFamily>
	<phone:PhoneApplicationPage.FontSize>
		<StaticResource ResourceKey="PhoneFontSizeNormal"/>
	</phone:PhoneApplicationPage.FontSize>
	<phone:PhoneApplicationPage.Foreground>
		<StaticResource ResourceKey="PhoneForegroundBrush"/>
	</phone:PhoneApplicationPage.Foreground>
	<Grid x:Name="LayoutRoot" Margin="0,0,0,-32" d:DataContext="{d:DesignData /SampleData/MainViewModelSampleData.xaml}" >
		<Grid.Resources>
			<DataTemplate x:Name="NumSeatFullModeItemTemplate">
				<Grid Tag="{Binding AirportCode}" VerticalAlignment="Center" Margin="0" HorizontalAlignment="Center" Width="480">
					<Grid Background="#E5FFF2BE" VerticalAlignment="Center" Margin="32,12,32,0">
						<TextBlock Text="{Binding}" Foreground="Black" FontSize="66.667" FontFamily="/Nok Air;component/Fonts/Fonts.zip#PSL Display" Margin="0,-8" HorizontalAlignment="Center"/>
					</Grid>
				</Grid>
			</DataTemplate>
		</Grid.Resources>
		<Grid.RowDefinitions>
			<RowDefinition Height="70"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		<Grid Style="{StaticResource TopAppBarStyle}">
			<Grid.ColumnDefinitions>
				<ColumnDefinition  Width="1*"/> 		
			</Grid.ColumnDefinitions>
			<TextBlock x:Name="Title_checkIn_TextBlock" TextWrapping="Wrap" Text="About Nok Air" FontSize="42.667" TextAlignment="Center" Foreground="White" Grid.Column="1" VerticalAlignment="Center"/>
		</Grid>
		<Grid Style="{StaticResource ContentStyle}"  Margin="0">
			<phone:WebBrowser x:Name="browser"/>
		</Grid>
		<!-- <StackPanel x:Name="airportLayout" Orientation="Vertical" Grid.RowSpan="3" Margin="0,0,0,0" Visibility="Collapsed">
            <StackPanel.Background>
                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop Color="#FFFFDE5F" Offset="1"/>
                    <GradientStop Color="#FFFFCB06"/>
                </LinearGradientBrush>
            </StackPanel.Background>
            <ListBox ItemsSource="{Binding AvailableAirportItems}" x:Name="airportListBox" Padding="0,0,0,0" Margin="0,5,0,0" Height="720" Background="{x:Null}" SelectionChanged="airportListBox_SelectionChanged">
                <ListBox.ItemTemplate>
                    <DataTemplate>
                        <Grid Tag="{Binding AirportCode}" VerticalAlignment="Center" Margin="0" d:LayoutOverrides="Height" HorizontalAlignment="Center" Width="480">
                            <Border VerticalAlignment="Center" Margin="20,5,20,5" CornerRadius="20" Tag="{Binding AirPortName}">
                                <StackPanel Margin="0">
                                    <TextBlock Text="{Binding AirPortName}" TextWrapping="Wrap" Foreground="Black" FontSize="40" Margin="0" FontFamily="/Nok Air;component/Fonts/Fonts.zip#PSL Display" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                    <TextBlock Text="{Binding AirportCode}" TextWrapping="Wrap" Margin="0,-12,0,0" Foreground="#99000000" FontFamily="/Nok Air;component/Fonts/Fonts.zip#PSL Display" HorizontalAlignment="Center" VerticalAlignment="Center"/>
                                </StackPanel>
                                <Border.Background>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FFC0B6B6" Offset="0.51"/>
                                        <GradientStop Color="White" Offset="0.985"/>
                                        <GradientStop Color="#FFEFE7E7" Offset="0.031"/>
                                        <GradientStop Color="#FFEFEAEA" Offset="1"/>
                                    </LinearGradientBrush>
                                </Border.Background>
                            </Border>
                        </Grid>
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </ListBox>
            <Button Content="{Binding Cancel}" Height="66" Margin="0,5,0,0" Style="{StaticResource ContinueButtonStyle}" Click="Cancel_Click" HorizontalAlignment="Center" VerticalAlignment="Center" Width="150" />
        </StackPanel>-->
	</Grid>
</phone:PhoneApplicationPage>